package com.soyoung;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * 客户端启动
 * @author :zhuhongqiang
 * @since  :2018年5月4日
 */
@EnableFeignClients //远程服务调用
@EnableEurekaClient
@EnableDiscoveryClient //注册服务到注册中心
@SpringBootApplication
public class ConfigClientRedisApplication {

	public static void main(String[] args) {
		SpringApplication.run(ConfigClientRedisApplication.class, args);
	}
}
